import java.util.HashMap;
import java.util.List;


public class PrintFun extends Fun {
	public PrintFun(HashMap syms) {
		super(syms);
	}

	@Override
	public Expr run(List args) throws Exception {
		for(Object e: args) {
			int v = ((Expr)e).run();
			System.out.println("\t" + v);
		}
		return new NumExpr(syms, "0");
	}
}
